<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:replace="tpl :: common_head()"></th:block>
    <title>行业编辑</title>
</head>
<body th:object="${obj}" th:with="entrance='/system/industryManagement/index'">
<th:block th:replace="tpl :: common_body(~{::.main-right})">
    <div class="main-right">
        <h1 class="main-right-h1">行业信息编辑</h1>
        <ul class="main-right-tab">
            <li><a href="index">行业信息列表</a></li>
            <li class="selected" th:if="*{id==null}">新增行业信息</li>
            <li class="selected" th:if="*{id!=null}">编辑行业信息</li>
        </ul>
        <form class="form" method="POST">
            <fieldset>
                <legend>行业信息</legend>
                <dl>
                    <dt>所属行业</dt>
                    <dd>
                        <input type="text" th:field="*{label}"/>
                    </dd>
                    <dt>顺序</dt>
                    <dd>
                        <input type="text" th:field="*{sort}"/>
                    </dd>
                    <input type="submit" value="提交"/>
                </dl>
            </fieldset>
        </form>
    </div>
</th:block>
</body>
</html>